package com.cyq.day19;

import javax.swing.*;

public class MainSwing extends JFrame{
    public MainSwing(){
        MainSwing mainSwing=new MainSwing();
        mainSwing.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        mainSwing.setBounds(300,100,500,500);
        mainSwing.setLayout(null);

    }}
